<%@ page language="java"%>
<%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator"
	prefix="decorator"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator"
	prefix="decorator"%>
<decorator:usePage id="thePage" />

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title></title>
</head>
<body>

<%
	String selection = thePage.getProperty("meta.selection");
%>

<s:url action="home.htm" namespace="/" var="homeUrl" />
<s:url action="profile.htm" namespace="/client" var="clientUrl" />
<s:url action="profile.htm" namespace="/js" var="jobseekerUrl" />
<s:url action="hotjobs.htm" namespace="/" var="hotJobsUrl" />
<s:url action="rs.htm" namespace="/" var="resumeSerivcesUrl" />
<s:url action="aboutus.htm" namespace="/" var="aboutusUrl" />
<s:url action="contactus.htm" namespace="/" var="contactusUrl" />

<table id="nav-bar-tabs" width="auto" height="100%" cellspacing="3">
	<tr>
		<%-- home Tab --%>
		<%
			if (selection != null && "homeTab".equals(selection)) {
		%>
		<td id="selected-tab"><a href="${homeUrl}">
			<span>Home</span>
		</a></td>
		<%
			} else {
		%>
		<td id="tab"><a href="${homeUrl}">
			<span>Home</span>
		</a>
		</td>
		<%
			}
		%>

		<%-- Jobseker Tab --%>

		<%
			if (selection != null && "jsTab".equals(selection)) {
		%>
		<td id="selected-tab"><a href="${jobseekerUrl}">
			<span>Candidates</span>
		</a></td>
		<%
			} else {
		%>
		<td id="tab"><a href="${jobseekerUrl}">
			<span>Candidates</span>
		</a></td>
		<%
			}
		%>

		<%-- Client Tab --%>

		<%
			if (selection != null && "clientTab".equals(selection)) {
		%>
		<td id="selected-tab"><a href="${clientUrl}">
			<span>Employers</span>
		</a></td>
		<%
			} else {
		%>
		<td id="tab"><a href="${clientUrl}">
			<span>Employers</span>
		</a></td>
		<%
			}
		%>

		<%-- Hot Jobs Tab --%>

		<%
			if (selection != null && "hotjobsTab".equals(selection)) {
		%>
		<td id="selected-tab"><a href="${hotJobsUrl}">
			<span>Hot Jobs</span>
		</a></td>
		<%
			} else {
		%>
		<td id="tab"><a href="${hotJobsUrl}">
			<span>Hot Jobs</span>
		</a></td>
		<%
			}
		%>

		<%-- Resume Services Tab --%>

		<%
			if (selection != null && "rsTab".equals(selection)) {
		%>
		<td id="selected-tab"><a href="${resumeSerivcesUrl}">
			<span style="padding: 0px;">Resume Services</span>
		</a></td>
		<%
			} else {
		%>
		<td id="tab"><a href="${resumeSerivcesUrl}">
			<span style="padding: 0px;">Resume Services</span>
		</a></td>
		<%
			}
		%>

		<%-- About us Tab --%>


		<%
			if (selection != null && "aboutusTab".equals(selection)) {
		%>
		<td id="selected-tab"><a href="${aboutusUrl}">
			<span>About Us</span>
		</a></td>
		<%
			} else {
		%>
		<td id="tab"><a href='${aboutusUrl}'>
			<span>About Us</span>
		</a></td>
		<%
			}
		%>

		<%-- contact us Tab --%>

		<%
			if (selection != null && "contactusTab".equals(selection)) {
		%>
		<td id="selected-tab"><a href="${contactusUrl}">
			<span>Contact Us</span>
		</a></td>
		<%
			} else {
		%>
		<td id="tab"><a href="${contactusUrl}">
			<span>Contact Us</span>
		</a></td>
		<%
			}
		%>

	</tr>
</table>

</body>
</html>
